package com.gui.hosp.repository;

import com.gui.model.hosp.Hospital;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author GodLamp
 * @date 2022/10/17 21:46
 */
@Repository
public interface HospitalRepository extends MongoRepository<Hospital, String> {
    //查询数据
    Hospital getHospitalByHoscode(String hoscode);
}
